import request from '@/utils/request'

export function login(data) {
  return request({
    url: '/user/pcLogin',
    method: 'post',
    data: data
  })
}

export function logout() {
  return request({
    url: '/user/backLogin',
    method: 'get',
  })
}

export function modifyUserPassword(data) {
  return request({
    url: '/user/modifyUserPassword',
    method: 'put',
    data: data
  })
}
